package cn.hxzy.course.service;

import cn.hxzy.common.domain.Courseware;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author niuyi
 * @since 2024-06-22
 */
public interface CoursewareService extends IService<Courseware> {


    /**
     *
     * @param sectionId
     * @return
     */
    List<Courseware> selectWareList(Integer sectionId);


    List<Courseware> selectCourseware(String coursewareName,Integer courseId);

    double selectCount(Long courseId);

    //删除课件
    Integer deleteCourseware(Integer coursewareId);
}
